<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>全国地市示例</title>
    <script src="./js/jquery-1.8.3.min.js"></script>
    <script src="./js/echarts.min.js"></script>
    <script src="./js/echarts-gl.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .mapBox {
            width: 100%;
            height: calc(100% - 100px);
            position: absolute;
            top: 120px;
        }

        canvas {
            width: 100%;
            height: 100vh;
            content-zooming: none;
            padding: 0;
            margin: 0;
        }

        .title {
            text-align: center;
            font-size: 48px;
            background: linear-gradient(to bottom, #fff, #fff 49%, #cccccc 50%, #cccccc);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: bold;
            margin: 50px 0 0 0;
        }

        .title span {
            display: none;
        }

        #goblck {
            position: absolute;
            color: #fff;
            z-index: 999;
            display: none;
            background-color: aqua;
            color: #333;
            font-size: 12px;
            padding: 5px 10px;
            border-radius: 3px;
            cursor: pointer;
            right: 10px;
            top: 70px;
        }
    </style>
</head>

<body style="overflow: hidden; background-color: #000;">
    <a id="goblck">返回</a>
    <p class="title">全国地图(3D)下钻示例<span id="pro"></span><span id="city"></span></p>
    <canvas></canvas>
    <div class="mapBox" id="map">
</body>
<script src="./js/script.js"></script>
<script src="./js/main.js"></script>
<script>
    getMapData()
</script>

</html>